package pl.edu.pb.wi.pwnography.model.form;

import org.hibernate.validator.constraints.Range;

public class DiscretizationForm extends MasterForm {
    @Range(min = 1, message = "Wartość musi być większa lub równa 1.")
    private int numberOfIntervals;

    public int getNumberOfIntervals() {
	return numberOfIntervals;
    }

    public void setNumberOfIntervals(int numberOfIntervals) {
	this.numberOfIntervals = numberOfIntervals;
    }

}
